Search Results: "fenio"

29 May 2012

Bartosz Feński: burp 1.3.6

Enjoy burp 1.3.6 in unstable! ;)

27 May 2012

Bartosz Feński: cowbuilder with sid under Ubuntu/Mint

Just for reference cause I had to figured it out again after upgrade from Mint Lisa to Mint Maya (which in Mint world means reinstalling whole system). This is the way to create cowbuilder environment with Debian Sid/unstable under Linux Mint Maya or any Ubuntu based system:
sudo sed -ie 's/MIRRORSITE.*/MIRRORSITE=http://ftp.debian.org/debian/g' /etc/pbuilderrc
sudo apt-get install debian-archive-keyring
sudo cowbuilder --create --distribution sid --debootstrapopts --keyring=/usr/share/keyrings/debian-archive-keyring.gpg

5 May 2012

Bartosz Feński: sshfs is now comaintained

Since my yesterday upload sshfs is now comaintained with Dmitry Smirnov and in fact he prepared the latest upstream version which is 2.4.
If anyone else would like to join and help improve the package further then Dmitry created Git repository for that purpose.

4 May 2012

Bartosz Feński: spice

As usual if I m trying to solve some issue there is a technology that solves it.
But it s in early stage of development, poorly packaged, stable versions lack most of the features, and basically it s recommended to use git snapshots and to patch all the software that is going to use it. I m talking about usbredir and SPICE.

24 April 2012

Bartosz Feński: Changing the job

It was almost 6 years in NetArt company (probably known better as nazwa.pl).
Time for changes. Starting on May I ll be working for Akamai. Wish me luck few hundreds of servers against almost 100 thousands looks like a real challenge ;)

2 April 2012

Bartosz Feński: i18n.debian. net,org

How about switch translations to Weblate? Maybe it s time to move on some more user friendly translation system? I believe Michal iha (cheers!) is going to help us (as a community) to make changes relevant to Debian s infrastructure.

31 March 2012

Bartosz Feński: note to self

If you want to connect to some device by wire make sure it has this wire plugged in.

9 March 2012

Bartosz Feński: httpie package

Tired of using curl to debug webapps?
curl -i -X PUT -H 'Content-Type:application/json; charset=utf-8' -d ' "hello":"world" ' http://httpbin.org/put
Looks quite complicated and for sure it is error prone.
http PUT httpbin.org/put hello=world
This looks much better, and I ve just created package with this useful tool. It s called httpie and is already in NEW queue. Besides simplifying syntax it has also color output which makes results more readable. For the impatient I put this package also on my people.d.o page.

27 February 2012

Bartosz Feński: downtimed

I ve just started to use it. Next time I m able to show you how stable is Zenbook under Linux. Right now it s not helpful:
fenio@zenbook ~ $ downtimes
Maybe the system has not been down yet?
downtimes: can not open /var/lib/downtimed/downtimedb: No such file or directory
fenio@zenbook ~ $
Next time it will really ;)

26 February 2012

Bartosz Feński: reaver ACCEPTED into unstable

Just got mail about it:
Accepted:
reaver_1.4-2.debian.tar.gz
to main/r/reaver/reaver_1.4-2.debian.tar.gz
reaver_1.4-2.dsc
to main/r/reaver/reaver_1.4-2.dsc
reaver_1.4-2_amd64.deb
to main/r/reaver/reaver_1.4-2_amd64.deb
reaver_1.4.orig.tar.gz
to main/r/reaver/reaver_1.4.orig.tar.gz Override entries for your package:
reaver_1.4-2.dsc extra net
reaver_1.4-2_amd64.deb extra net Announcing to debian-devel-changes@lists.debian.org
Closing bugs: 653758 Thank you for your contribution to Debian.
Now let s see how portable is it ;)

22 February 2012

Bartosz Feński: [B]ack[U]p and [R]estore [P]rogram

One of the most popular backup solution under Linux is Bacula, but it s quite complicated to setup. The same for Amanda.
Since my last sponsored upload we ve got another alternative in Debian. It s called burp. Let s enumerate its features as of version 1.3.0: Sounds good and this project is only 1 year old! Author claims that setup is much easier than with Bacula. Let s find out is that truth ;) Since we ve got this software in Debian installing it on unstable is as simple as apt-get install burp .
Both client and server came from the same binary package. Now let s configure server side. Well in fact we just have to run it, so just change RUN=no to RUN=yes in /etc/default/burp and launch it using /etc/init.d/burp start . Now the client side. If the client is on the same machine then you re ready. Yes you re ready! Let s do our first backup:
backup ~ # burp -a b
2012-02-22 17:53:03: burp[30584] Listing configured paths:
2012-02-22 17:53:03: burp[30584] include: /home
2012-02-22 17:53:03: burp[30584] Listing starting paths:
2012-02-22 17:53:03: burp[30584] /home
2012-02-22 17:53:03: burp[30584] before client
2012-02-22 17:53:03: burp[30584] begin client
2012-02-22 17:53:03: burp[30584] auth ok
2012-02-22 17:53:03: burp[30584] Compression level: 9
2012-02-22 17:53:03: burp[30584] do backup client
2012-02-22 17:53:03: burp[30584] Phase 1 begin (file system scan)
 
ddwdffffddffdfdfdddfffffdddfffffffdfffdfdfffffdfdfdffdddddfffddff 64
[...a lot of output...]
 
2012-02-22 17:53:03: burp[30584] Phase 1 end (file system scan)
2012-02-22 17:53:03: burp[30584] Phase 2 begin (send file data)
 
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 64
[...a lot of output...]
 
--------------------------------------------------------------------------------
Start time: 2012-02-22 17:53:03
  End time: 2012-02-22 17:53:07
Time taken: 00:04
                             New   Changed Unchanged     Total    Scanned
                       --------------------------------------------------
                Files:       100         0         -       100        100
          Directories:         -         -         -         -         76
           Soft links:         -         -         -         -          1
          Grand total:       100         0         -       100        177
                       --------------------------------------------------
 
             Warnings:             1
 
      Bytes estimated:      17628946 (16.81 MB)
      Bytes in backup:      17628946 (16.81 MB)
       Bytes received:             0
           Bytes sent:      17628946 (16.81 MB)
--------------------------------------------------------------------------------
2012-02-22 17:53:07: burp[30584] Phase 2 end (send file data)
2012-02-22 17:53:07: burp[30584] backup finished ok
2012-02-22 17:53:07: burp[30584] after client
backup ~ #
Yes. By default it is so extremely simple! Of course this way we can make backup of /home (that s default) to /var/spool/burp (also default location) but you can easily change this.
For the simplest scenario (backing up laptop to remote server) all I had to change was server = 127.0.0.1 in /etc/burp/burp.conf on the client side. Burp comes with handy tool called burp_ca and it simplifies setting up encrypted backups. In fact there is step by step howto in documentation.
Other options are quite self explanatory and well documented in both client and server config files that came with the package. Happy backuping!

19 February 2012

Bartosz Feński: Not able to install Debian

That s sad. Hardware that was supported sometime ago, it s now unsupported.
I have no idea how to install Debian on Sony Vaio laptop.
Tried all possibilities.

16 February 2012

Bartosz Feński: Automating building kernel for Zenbooks

I wrote some simple script to automate building kernels for Zenbook laptops. It downloads and apply Bluetooth patch, RC6 patch, Sentelic drivers, fixes DSDT table, and helps doing compilation of all of that. Hope it s going to be helpful for someone. Here it goes. Should work on most Debian based distros, but as usual. There is NO warranty ;)

15 February 2012

Bartosz Feński: Asus Zenbook (UX31e) eventually stable under Linux

Seems that Intel developers eventually created patch that solves the main issue with Zenbook under Linux.
With Eugeni Dodonov s patch I m finally able to use RC6 feature and have stable system with acceptable battery lifetime. Almost two days without sudden shutdown using that patch ;) Happily there s chance that this patch is going to be included in 3.3.x mainline kernel. Beware that i915.i915_enable_rc6=1 kernel option means something different with patched and vanilla kernel.

Bartosz Feński: Start from scratch

That seems to be the correct approach when you haven t been updating your package for 5 years. Just start from scratch and package it again. It s easier than fixing all lintian warnings and apply its suggestions.

11 February 2012

Bartosz Feński: It hurts

when you find caution *after* being sufferer of some known problem. Caution marked red at the beginning of this article is the way I bricked my laptop. Maybe they should change the name of that option from EasyFlash to EasyBrick.

Bartosz Feński: Useful changelog

Here it goes: BIOS changelog Tell me if I should upgrade it or not

10 February 2012

Bartosz Feński: Livin on the edge

zenbook ~ # uname -r
3.3.0-rc3-fenio
zenbook ~ # Let s see how many sudden shutdowns will be on that kernel ;)

4 February 2012

Bartosz Feński: Quick howto for the most stable Linux kernel with Zenbook

Quick howto for everyone having Asus UX31e aka Zenbook and wants the most stable vanilla kernel with long-time battery life and working touchpad made by Sentelic.
This should work for every Debian based distro, but has been tested only on the latest Linux Mint 12 (aka Lisa).
Tutorial is aimed mainly at beginners and should work in a copy&paste manner. Of course you have to change every occurence of linux-3.2.4 to whichever version you re going to install.
Just make sure that all commands are entered in the correct directories, prompts should look similar to these from examples.
You will need about 10GB of free disk space. Let s install some dependencies first:
fenio@zenbook ~ $ sudo apt-get install build-essential kernel-package fakeroot libncurses5-dev git iasl
Now let s download and unpack the latest kernel (3.2.4 at the time it was written):
fenio@fenio ~ $ mkdir kernel
fenio@fenio ~ $ cd kernel
fenio@fenio ~/kernel $ wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.2.4.tar.bz2
fenio@fenio ~/kernel $ tar jxvf linux-3.2.4.tar.bz2
Now we take current kernel configuration and put in the kernel tree:
fenio@fenio ~/kernel $ cp /boot/config- uname -r  linux-3.2.4/.config
Now we have to download the latest driver for Sentelic touchpad (this is why we needed git as a dependency):
fenio@fenio ~/kernel $ git clone git://github.com/saaros/sentelic.git
fenio@fenio ~/kernel $ cp sentelic/src/sentelic.* linux-3.2.4/drivers/input/mouse/
It s time to fix broken DSDT table (part of ACPI). This is why we had iasl in dependencies.
fenio@fenio ~/kernel $ wget http://files.benesovi.eu/ux31e/ux31e_dsdt.dsl
fenio@fenio ~/kernel $ iasl -tc ux31e_dsdt.dsl
And include it in our kernel configuration:
fenio@fenio ~/kernel $ sed -ie 's/# CONFIG_ACPI_CUSTOM_DSDT is not set/CONFIG_ACPI_CUSTOM_DSDT=y/g' linux-3.2.4/.config 
fenio@fenio ~/kernel $ sed -ie "s@CONFIG_ACPI_CUSTOM_DSDT_FILE.*@CONFIG_ACPI_CUSTOM_DSDT_FILE=\" pwd /ux31e_dsdt.hex\"@g" linux-3.2.4/.config
Now ensure that all our options are set up correctly (you can change some other options if you want).
If you don t want to change anything then simply exit saving configuration.
fenio@fenio ~/kernel $ cd linux-3.2.4/
fenio@fenio ~/kernel/linux-3.2.4 $ make menuconfig
We re ready to start compilation now!
fenio@fenio ~/kernel/linux-3.2.4 $ fakeroot make-kpkg clean
fenio@fenio ~/kernel/linux-3.2.4 $ fakeroot make-kpkg --jobs=4 --initrd --append-to-version=-fenio --revision=20120204 kernel_image kernel_headers modules_image
Of course you can change append-to-version option for something own. In the meantime (kernel compilations takes about one hour) you can modify Grub options to enable powersaving features RC6:
fenio@zenbook ~ $ sudo sed -ie 's/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX="i915.powersave=1 i915.semaphores=1 i915.i915_enable_rc6=1"/g' /etc/default/grub
Be sure to do that before installation of kernel, otherwise you will have to run update-grub. After compilation you can finally install your new kernel:
fenio@zenbook ~/kernel/linux-3.2.4 $ sudo dpkg -i ../*.deb
Reboot and you re done! Feel free to comment this tutorial if something went wrong.

3 February 2012

Bartosz Feński: Fe ski s law

Compilation of Linux kernel takes about an hour. Assuming you re using recent kernel and usual hardware available on the market at that time. Thank you for your attention.

Next.

Previous.